package ooday01.homework1;

public class Car {
    String brand;
    String color;
    double price;

    Car(){}
    Car(String brand,String color,double price  ){
        this.brand=brand;
        this.color=color;
        this.price=price;
    }
    void start(){
        System.out.println(price+"万的"+color+brand+"车启动了");
    }
    void  run(){
        System.out.println(price+"万的"+color+brand+"车跑得飞起");
    }
    void stop(){
        System.out.println(price+"万的"+color+brand+"车停下来了");
    }
}
